﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LearnNet.Entity
{
    /// <summary>
    /// 采集具体内容类
    /// </summary>
    public class Collect_PageSetInfo
    {
        private string channelId;
        private string classId;
        private string title;
        private string titleReplaceStr;
        private string titleReplasedStr;
        private string keyWord;
        private bool isAutoKeyWord;
        private string keyWordReplaseStr;
        private string keyWordReplasedStr;
        private string description;
        private bool isAutoDescription;
        private string descriptionReplaseStr;
        private string descriptionReplasedStr;
        private bool isIncludeHtml;
        private string content;
        private string contentMatchLeft;
        private string contentMatchRight;
        private int contentRemoveLeftLength;
        private int contentRemoveRightLength;
        private string contentReplaseStr;
        private string contentReplasedStr;
        private bool isIncludeScript;
        private bool isIncludeClass;
        private bool isIncludeStyle;
        private bool isIncludeColor;
        private bool isIncludeLink;
        private bool isIncludeImg;
        private bool isIncludeFile;
        private bool isIncludeFrame;
        /// <summary>
        /// 频道ID
        /// </summary>
        public string ChannelId
        {
            get { return channelId; }
            set { channelId = value; }
        }
        /// <summary>
        /// 栏目ID
        /// </summary>
        public string ClassId
        {
            get { return classId; }
            set { classId = value; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        /// <summary>
        /// 标题中需要替换的旧字符串
        /// </summary>
        public string TitleReplaceStr
        {
            get { return titleReplaceStr; }
            set { titleReplaceStr = value; }
        }
        /// <summary>
        /// 标题中替换为的新字符串
        /// </summary>
        public string TitleReplasedStr
        {
            get { return titleReplasedStr; }
            set { titleReplasedStr = value; }
        }
        /// <summary>
        /// 关键词
        /// </summary>
        public string KeyWord
        {
            get { return keyWord; }
            set { keyWord = value; }
        }
        /// <summary>
        /// 自否自动获取关键词
        /// </summary>
        public bool IsAutoKeyWord
        {
            get { return isAutoKeyWord; }
            set { isAutoKeyWord = value; }
        }
        /// <summary>
        /// 关键词需替换的旧字符串
        /// </summary>
        public string KeyWordReplaseStr
        {
            get { return keyWordReplaseStr; }
            set { keyWordReplaseStr = value; }
        }
        /// <summary>
        /// 关键词中替换的新字符串
        /// </summary>
        public string KeyWordReplasedStr
        {
            get { return keyWordReplasedStr; }
            set { keyWordReplasedStr = value; }
        }
        /// <summary>
        /// 简介
        /// </summary>
        public string Description
        {
            get { return description; }
            set { description = value; }
        }
        /// <summary>
        /// 是否自动获取简介
        /// </summary>
        public bool IsAutoDescription
        {
            get { return isAutoDescription; }
            set { isAutoDescription = value; }
        }
        /// <summary>
        /// 简介需替换的旧字符串
        /// </summary>
        public string DescriptionReplaseStr
        {
            get { return descriptionReplaseStr; }
            set { descriptionReplaseStr = value; }
        }
        /// <summary>
        /// 简介中替换为新字符串
        /// </summary>
        public string DescriptionReplasedStr
        {
            get { return descriptionReplasedStr; }
            set { descriptionReplasedStr = value; }
        }
        /// <summary>
        /// 内容中是否包含html
        /// </summary>
        public bool IsIncludeHtml
        {
            get { return isIncludeHtml; }
            set { isIncludeHtml = value; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string Content
        {
            get { return content; }
            set { content = value; }
        }
        /// <summary>
        /// 内容匹配的左字符串
        /// </summary>
        public string ContentMatchLeft
        {
            get { return contentMatchLeft; }
            set { contentMatchLeft = value; }
        }
        /// <summary>
        /// 内容匹配的右字符串
        /// </summary>
        public string ContentMatchRight
        {
            get { return contentMatchRight; }
            set { contentMatchRight = value; }
        }
        /// <summary>
        /// 内容匹配值左边不包括的长度
        /// </summary>
        public int ContentRemoveLeftLength
        {
            get { return contentRemoveLeftLength; }
            set { contentRemoveLeftLength = value; }
        }
        /// <summary>
        /// 内容匹配值右边不包括长度
        /// </summary>
        public int ContentRemoveRightLength
        {
            get { return contentRemoveRightLength; }
            set { contentRemoveRightLength = value; }
        }
        /// <summary>
        /// 内容中需要替换的旧字符串
        /// </summary>
        public string ContentReplaseStr
        {
            get { return contentReplaseStr; }
            set { contentReplaseStr = value; }
        }
        /// <summary>
        /// 内容中需要替换的新字符串
        /// </summary>
        public string ContentReplasedStr
        {
            get { return contentReplasedStr; }
            set { contentReplasedStr = value; }
        }
        /// <summary>
        /// 是否包含标签Script
        /// </summary>
        public bool IsIncludeScript
        {
            get { return isIncludeScript; }
            set { isIncludeScript = value; }
        }
        /// <summary>
        /// 是否包含clss样式
        /// </summary>
        public bool IsIncludeClass
        {
            set {  isIncludeClass=value; }
            get { return isIncludeClass; }
        }
        /// <summary>
        /// 是否包换Style样式
        /// </summary>
        public bool IsIncludeStyle
        {
            get { return isIncludeStyle; }
            set { isIncludeStyle = value; }
        }
        /// <summary>
        /// 是否包含Color标签
        /// </summary>
        public bool IsIncludeColor
        {
            get { return isIncludeColor; }
            set { isIncludeColor = value; }
        }
        /// <summary>
        /// 是否包含超链接
        /// </summary>
        public bool IsIncludeLink
        {
            get { return isIncludeLink; }
            set { isIncludeLink = value; }
        }
        /// <summary>
        /// 是否包含图片
        /// </summary>
        public bool IsIncludeImg
        {
            get { return isIncludeImg; }
            set { isIncludeImg = value; }
        }
        /// <summary>
        /// 是否包含文件
        /// </summary>
        public bool IsIncludeFile
        {
            set { isIncludeFile = value; }
            get { return isIncludeFile; }
        }

        public bool IsIncludeFrame
        {
            get{return isIncludeFrame;}
            set{isIncludeFrame=value;}
        }

    }
}
